<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of cartTable
 *
 * @author sammerelaraby
 */
class Cart extends Zend_Db_Table_Abstract {
    //put your code here
    protected $_name='cart';
    protected $_referenceMap = array(
        'user_id'=> array(
            'columns'=>array('user_id'),
            'refTableClass'=>'usersTable',
            'refColumns'=>array('user_id')
             ),
        'product_id'=>array(
            'columns'=>array('product_id'),
            'refTableClass'=>'productsTable',
            'refColumns'=>array('product_id')  
        )
    );
}
?>
